package com.ysfxt.service;

import com.ysfxt.model.SysWorks;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ysfxt.result.Result;
import com.ysfxt.vo.SignUpVo;
import com.ysfxt.vo.WorksParam;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ysfxt
 * @since 2024-03-29
 */
public interface SysWorksService extends IService<SysWorks> {
    
    /**
     * 分页查询
     * @param worksParam
     * @return
     */
    Result select(WorksParam worksParam);
    
    /**
     * 导出
     * @param response
     */
    void exportData(HttpServletResponse response);
    
    /**
     * 查看详情
     * @param id
     * @return
     */
    Result getWorkInfo(Long id);
    
    /**
     * 报名
     * @param signUpVo
     * @return
     */
    Result signUp(SignUpVo signUpVo);
}
